package de.tudarmstadt.gdi1.project.analyse.genetic;

import de.tudarmstadt.gdi1.project.alphabet.Alphabet;
import de.tudarmstadt.gdi1.project.analysis.monoalphabetic.Individual;

public class Individuum implements Individual{
	
	public Individuum(Alphabet alphabet){
		this.alphabet = alphabet;
		this.fitness = 0;
	}
	
	Alphabet alphabet;
	double fitness;
	
	public void setFitness(double fitness){
		this.fitness = fitness;
	}

	@Override
	public Alphabet getAlphabet() {
		return alphabet;
	}

	@Override
	public double getFitness() {
		return fitness;
	}

}
